/**
 * 2017，thor.com，all rights reserved。
 * 
 * Project：		palmmall-core
 * Filename：	PDailyPassengerFlow.java
 * Created：		2017年4月25日
 * Creator：		wolv
 */
package com.thor.palmmall.dao.rpt.vehicleflow;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Index;

import com.thor.commons.jpa.entity.PEntity;

/**
 * 每日车流
 * 
 * @author wolv
 *
 */
@Entity
@Table(name = "PMDailyVehicleFlow")
@org.hibernate.annotations.Table(appliesTo = "PMDailyVehicleFlow", indexes = {
    @Index(name = "idx_PDailyVehicleFlow_1", columnNames = {
        "fdate" }), @Index(name = "idx_PDailyVehicleFlow_2", columnNames = {
        "storeId" }) })
public class PDailyVehicleFlow extends PEntity {
  private static final long serialVersionUID = 4683472348194591197L;

  private Date date;
  private BigDecimal value;
  private String storeId;
  private String store;

  /**
   * 车流日期
   * 
   * @return
   */
  @Column(name = "fdate", nullable = false)
  public Date getDate() {
    return date;
  }

  public void setDate(Date date) {
    this.date = date;
  }

  /**
   * 车流量
   * 
   * @return
   */
  @Column(name = "value", nullable = false, precision = 19, scale = 4)
  public BigDecimal getValue() {
    return value;
  }

  public void setValue(BigDecimal value) {
    this.value = value;
  }

  /**
   * 车流发生门店ID
   * 
   * @return
   */
  @Column(name = "storeId", nullable = false, length = 38)
  public String getStoreId() {
    return storeId;
  }

  public void setStoreId(String storeId) {
    this.storeId = storeId;
  }

  /**
   * 车流发生门店
   * 
   * @return
   */
  @Column(name = "store", nullable = false, length = 128)
  public String getStore() {
    return store;
  }

  public void setStore(String store) {
    this.store = store;
  }
}
